<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="community_name" class="control-label col-xs-12 col-sm-2">{:__('Community')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input name="community_name" id="community_name" class="form-control" value="{$row.community.name}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label for="project_name" class="control-label col-xs-12 col-sm-2">{:__('Project')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input name="project_name" id="project_name" class="form-control" value="{$row.project.name}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label for="house_name" class="control-label col-xs-12 col-sm-2">{:__('House')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input name="house_name" id="house_name" class="form-control" value="{$row.house.name}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label for="pay_name" class="control-label col-xs-12 col-sm-2">{:__('Pay')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input name="pay_name" id="pay_name" class="form-control" value="{$row.pay.name}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label for="amount_total" class="control-label col-xs-12 col-sm-2">{:__('AmountTotal')}（&yen;）:</label>
        <div class="col-xs-12 col-sm-6">
            <input type="text" class="form-control" id="amount_total" name="row[amount_total]" value="{$row.amount_total}" data-rule="required;decimal" readonly />
        </div>
    </div>
    <div class="form-group">
        <label for="amount_paid" class="control-label col-xs-12 col-sm-2">{:__('AmountPaid')}（&yen;）:</label>
        <div class="col-xs-12 col-sm-6">
            <input type="text" class="form-control" id="amount_paid" name="row[amount_paid]" value="{$row.amount_paid}" data-rule="required;decimal" readonly />
        </div>
    </div>
    <div class="form-group">
        <label for="remark" class="control-label col-xs-12 col-sm-2">{:__('VerifyStatus')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[verify]', ['0'=>__('WaitVerify'), '1'=>__('PassVerify'), '2'=>__('RefuseVerify')],$row['verify'])}
        </div>
    </div>
    <div class="form-group">
        <label for="remark" class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="remark" name="row[remark]" value="{$row.remark}" />
        </div>
    </div>
    <div class="form-group hide layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed ">{:__('OK')}</button>
            <button type="button" class="btn btn-default btn-embossed" onClick="closeLayerWin(this)">{:__('Close')}</button>
        </div>
    </div>

</form>
